<template>
 <div>
     <Header></Header>
     <router-view></router-view>
     <Footer v-show="$route.meta.isShow"></Footer>
  </div>
</template>

<script>
  export default {
    name:'App',
    mounted(){
          //通知vuex发请求,vuex把数据存储到仓库里面
    //派发action
    this.$store.dispatch("getCategoryList");
    },
  }
</script>

<style lang="less" scoped>

</style>
